package com.wm.service;

import com.github.pagehelper.PageInfo;
import com.wm.entity.RbacRole;

import java.util.List;

public interface RoleService {

     void insert(RbacRole role,int[] permIds);

     List<RbacRole> getAll();


     RbacRole selectId (int id);

     void deleteId(RbacRole role, int[] permIds);

     void UpdateRole(RbacRole role, int[] permIds);


    PageInfo<RbacRole> getByCondition(int pageNum, RbacRole role);
}
